package com.simoniu.atm.domain;

import java.io.Serializable;

public class Account implements Serializable,Cloneable {

    private String cid; //银行卡账号
    private String name; //户主
    private String password; //取款密码
    private double balance; //余额
    private String modifydate; //最后修改日期

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public String getModifydate() {
        return modifydate;
    }

    public void setModifydate(String modifydate) {
        this.modifydate = modifydate;
    }

    @Override
    public String toString() {
        return "Account{" +
                "cid='" + cid + '\'' +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", balance=" + balance +
                ", modifydate='" + modifydate + '\'' +
                '}';
    }
}
